package com.it.you.common.enums;

/**
 * 按照格式生成号码
 */
public enum IdCreatorPrefixEnum {

    YJJ_MAIN_ORDER("MY", "_", "%08d"),
    ZYT_MAIN_ORDER("MZ", "_", "%08d"),
    YJJ_ORDER("DY", "_", "%08d"),
    ZYT_ORDER("DZ", "_", "%08d"),
    QH_ORDER("QH", "", "%05d"),
    YJJ_VALIDATE_NO("JYCL", "", "%05d");

    private String prefix;
    private String splitStr;
    private String digit;

    public String getPrefix() {
        return prefix;
    }

    public String getSplitStr() {
        return splitStr;
    }

    public String getDigit() {
        return digit;
    }

    IdCreatorPrefixEnum(final String prefix, final String splitStr, final String digit) {
        this.prefix = prefix;
        this.splitStr = splitStr;
        this.digit = digit;
    }

}
